home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-11-29 | 3.8 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| MS-DOS Code Page Info (other/dosCodePage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Nov 29 23:00:00 1996, modified Fri Nov 29 23:00:00 1996, creator Think C, type ASCII, 3168 bytes "touchshell.cp" , at 0xce0 492 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 74 6f 75 63 68 73 | 68 65 6c 6c 2e 63 70 00 |..touchs|hell.cp.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0c 60 00 | 00 01 ec ae c5 61 c0 ae |......`.|.....a..|
|00000060| c5 61 c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.a......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 00 17 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 46 6f 6c 64 65 72 |#include| <Folder|
|00000090| 73 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |s.h>.#in|clude <T|
|000000a0| 79 70 65 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |ypes.h>.|#include|
|000000b0| 20 3c 4d 65 6d 6f 72 79 | 2e 68 3e 0d 23 69 6e 63 | <Memory|.h>.#inc|
|000000c0| 6c 75 64 65 20 3c 51 75 | 69 63 6b 44 72 61 77 2e |lude <Qu|ickDraw.|
|000000d0| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 4f 53 55 |h>.#incl|ude <OSU|
|000000e0| 74 69 6c 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |tils.h>.|#include|
|000000f0| 20 3c 54 6f 6f 6c 55 74 | 69 6c 73 2e 68 3e 0d 23 | <ToolUt|ils.h>.#|
|00000100| 69 6e 63 6c 75 64 65 20 | 3c 4d 65 6e 75 73 2e 68 |include |<Menus.h|
|00000110| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 50 61 63 6b |>.#inclu|de <Pack|
|00000120| 61 67 65 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |ages.h>.|#include|
|00000130| 20 3c 54 72 61 70 73 2e | 68 3e 0d 23 69 6e 63 6c | <Traps.|h>.#incl|
|00000140| 75 64 65 20 3c 46 69 6c | 65 73 2e 68 3e 0d 23 69 |ude <Fil|es.h>.#i|
|00000150| 6e 63 6c 75 64 65 20 3c | 41 6c 69 61 73 65 73 2e |nclude <|Aliases.|
|00000160| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 41 70 70 |h>.#incl|ude <App|
|00000170| 6c 65 45 76 65 6e 74 73 | 2e 68 3e 0d 23 69 6e 63 |leEvents|.h>.#inc|
|00000180| 6c 75 64 65 20 3c 47 65 | 73 74 61 6c 74 45 71 75 |lude <Ge|staltEqu|
|00000190| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 50 72 |.h>.#inc|lude <Pr|
|000001a0| 6f 63 65 73 73 65 73 2e | 68 3e 0d 23 69 6e 63 6c |ocesses.|h>.#incl|
|000001b0| 75 64 65 20 3c 46 6f 6e | 74 73 2e 68 3e 0d 23 69 |ude <Fon|ts.h>.#i|
|000001c0| 6e 63 6c 75 64 65 20 3c | 4f 53 45 76 65 6e 74 73 |nclude <|OSEvents|
|000001d0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 52 65 |.h>.#inc|lude <Re|
|000001e0| 73 6f 75 72 63 65 73 2e | 68 3e 0d 23 69 6e 63 6c |sources.|h>.#incl|
|000001f0| 75 64 65 20 3c 44 65 73 | 6b 2e 68 3e 0d 0d 23 69 |ude <Des|k.h>..#i|
|00000200| 6e 63 6c 75 64 65 20 22 | 68 61 6e 64 6c 65 2e 68 |nclude "|handle.h|
|00000210| 22 0d 23 69 6e 63 6c 75 | 64 65 20 22 72 65 73 6f |".#inclu|de "reso|
|00000220| 75 72 63 65 2e 68 22 0d | 0d 23 69 6e 63 6c 75 64 |urce.h".|.#includ|
|00000230| 65 20 22 67 65 73 74 61 | 6c 74 5f 2e 68 22 0d 23 |e "gesta|lt_.h".#|
|00000240| 69 6e 63 6c 75 64 65 20 | 22 66 73 73 70 65 63 2e |include |"fsspec.|
|00000250| 68 22 0d 23 69 6e 63 6c | 75 64 65 20 22 73 74 61 |h".#incl|ude "sta|
|00000260| 6e 64 61 72 64 66 69 6c | 65 5f 2e 68 22 0d 23 69 |ndardfil|e_.h".#i|
|00000270| 6e 63 6c 75 64 65 20 22 | 73 74 61 6e 64 61 72 64 |nclude "|standard|
|00000280| 67 65 74 66 69 6c 65 2e | 68 22 0d 23 69 6e 63 6c |getfile.|h".#incl|
|00000290| 75 64 65 20 22 62 6f 78 | 6d 61 6b 65 72 67 65 74 |ude "box|makerget|
|000002a0| 66 69 6c 65 2e 68 22 0d | 0d 23 69 6e 63 6c 75 64 |file.h".|.#includ|
|000002b0| 65 20 22 62 6f 78 6d 61 | 6b 65 72 20 63 6f 6e 73 |e "boxma|ker cons|
|000002c0| 74 61 6e 74 73 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |tants.h"|.#includ|
|000002d0| 65 20 22 62 6f 78 6d 61 | 6b 65 72 2e 68 22 0d 23 |e "boxma|ker.h".#|
|000002e0| 69 6e 63 6c 75 64 65 20 | 22 70 72 65 66 65 72 65 |include |"prefere|
|000002f0| 6e 63 65 73 2e 63 70 22 | 0d 23 69 6e 63 6c 75 64 |nces.cp"|.#includ|
|00000300| 65 20 22 74 6f 75 63 68 | 73 68 65 6c 6c 2e 68 22 |e "touch|shell.h"|
|00000310| 0d 0d 23 70 72 61 67 6d | 61 20 74 65 6d 70 6c 61 |..#pragm|a templa|
|00000320| 74 65 5f 61 63 63 65 73 | 73 20 70 75 62 6c 69 63 |te_acces|s public|
|00000330| 0d 0d 76 6f 69 64 20 6d | 61 69 6e 28 29 3b 0d 0d |..void m|ain();..|
|00000340| 76 6f 69 64 20 6d 61 69 | 6e 28 29 0d 7b 0d 09 74 |void mai|n().{..t|
|00000350| 6f 75 63 68 73 65 74 74 | 69 6e 67 73 20 64 65 66 |ouchsett|ings def|
|00000360| 61 75 6c 74 53 65 74 74 | 69 6e 67 73 20 3d 0d 09 |aultSett|ings =..|
|00000370| 7b 0d 09 09 74 6f 75 63 | 68 73 68 65 6c 6c 3a 3a |{...touc|hshell::|
|00000380| 6b 53 65 63 6f 6e 64 42 | 75 74 74 6f 6e 2c 0d 09 |kSecondB|utton,..|
|00000390| 09 74 6f 75 63 68 73 68 | 65 6c 6c 3a 3a 6b 4d 6f |.touchsh|ell::kMo|
|000003a0| 64 44 61 74 65 2c 0d 09 | 09 74 72 75 65 0d 09 7d |dDate,..|.true..}|
|000003b0| 3b 0d 09 73 74 72 69 6e | 67 72 65 73 6f 75 72 63 |;..strin|gresourc|
|000003c0| 65 20 70 72 65 66 73 46 | 69 6c 65 52 65 73 6f 75 |e prefsF|ileResou|
|000003d0| 72 63 65 28 20 31 32 38 | 29 3b 0d 09 74 6f 75 63 |rce( 128|);..touc|
|000003e0| 68 73 68 65 6c 6c 20 69 | 74 28 20 2a 28 53 74 72 |hshell i|t( *(Str|
|000003f0| 32 35 35 20 2a 29 2a 28 | 48 61 6e 64 6c 65 29 70 |255 *)*(|Handle)p|
|00000400| 72 65 66 73 46 69 6c 65 | 52 65 73 6f 75 72 63 65 |refsFile|Resource|
|00000410| 2c 20 64 65 66 61 75 6c | 74 53 65 74 74 69 6e 67 |, defaul|tSetting|
|00000420| 73 29 3b 0d 09 69 74 2e | 72 75 6e 28 29 3b 0d 7d |s);..it.|run();.}|
|00000430| 0d 0d 74 6f 75 63 68 73 | 68 65 6c 6c 3a 3a 74 6f |..touchs|hell::to|
|00000440| 75 63 68 73 68 65 6c 6c | 28 20 53 74 72 32 35 35 |uchshell|( Str255|
|00000450| 20 70 72 65 66 73 46 69 | 6c 65 4e 61 6d 65 2c 20 | prefsFi|leName, |
|00000460| 74 6f 75 63 68 73 65 74 | 74 69 6e 67 73 20 26 64 |touchset|tings &d|
|00000470| 65 66 61 75 6c 74 73 65 | 74 74 69 6e 67 73 29 0d |efaultse|ttings).|
|00000480| 09 09 3a 20 62 6f 78 6d | 61 6b 65 72 28 20 33 30 |..: boxm|aker( 30|
|00000490| 30 30 29 0d 09 09 2c 20 | 74 6f 75 63 68 70 72 65 |00)..., |touchpre|
|000004a0| 66 73 28 20 70 72 65 66 | 73 46 69 6c 65 4e 61 6d |fs( pref|sFileNam|
|000004b0| 65 2c 20 64 65 66 61 75 | 6c 74 73 65 74 74 69 6e |e, defau|ltsettin|
|000004c0| 67 73 29 0d 7b 0d 09 72 | 65 73 6f 75 72 63 65 20 |gs).{..r|esource |
|000004d0| 74 69 6d 65 73 28 20 27 | 74 69 6d 73 27 2c 20 31 |times( '|tims', 1|
|000004e0| 32 38 29 3b 0d 09 0d 09 | 74 68 65 47 72 61 69 6e |28);....|theGrain|
|000004f0| 73 20 3d 20 28 6c 6f 6e | 67 20 2a 29 2a 74 69 6d |s = (lon|g *)*tim|
|00000500| 65 73 3b 0d 09 0d 09 47 | 65 74 44 61 74 65 54 69 |es;....G|etDateTi|
|00000510| 6d 65 28 20 26 73 74 61 | 72 74 69 6e 67 5f 74 69 |me( &sta|rting_ti|
|00000520| 6d 65 29 3b 0d 09 43 68 | 61 6e 67 65 47 72 61 69 |me);..Ch|angeGrai|
|00000530| 6e 28 20 77 68 69 63 68 | 47 72 61 69 6e 29 3b 0d |n( which|Grain);.|
|00000540| 09 43 68 61 6e 67 65 44 | 61 74 65 28 20 77 68 69 |.ChangeD|ate( whi|
|00000550| 63 68 44 61 74 65 29 3b | 0d 09 43 68 61 6e 67 65 |chDate);|..Change|
|00000560| 53 61 76 65 28 20 64 6f | 6e 74 53 61 76 65 50 72 |Save( do|ntSavePr|
|00000570| 65 66 73 29 3b 0d 7d 0d | 0d 74 6f 75 63 68 73 68 |efs);.}.|.touchsh|
|00000580| 65 6c 6c 3a 3a 7e 74 6f | 75 63 68 73 68 65 6c 6c |ell::~to|uchshell|
|00000590| 28 29 0d 7b 0d 09 69 66 | 28 20 64 6f 6e 74 53 61 |().{..if|( dontSa|
|000005a0| 76 65 50 72 65 66 73 29 | 0d 09 7b 0d 09 09 52 65 |vePrefs)|..{...Re|
|000005b0| 76 65 72 74 28 29 3b 0d | 09 09 64 6f 6e 74 53 61 |vert();.|..dontSa|
|000005c0| 76 65 50 72 65 66 73 20 | 3d 20 74 72 75 65 3b 0d |vePrefs |= true;.|
|000005d0| 09 7d 0d 7d 0d 0d 76 6f | 69 64 20 74 6f 75 63 68 |.}.}..vo|id touch|
|000005e0| 73 68 65 6c 6c 3a 3a 4f | 70 65 6e 44 6f 63 28 20 |shell::O|penDoc( |
|000005f0| 42 6f 6f 6c 65 61 6e 20 | 6f 70 65 6e 69 6e 67 29 |Boolean |opening)|
|00000600| 0d 7b 0d 09 69 66 28 20 | 6f 70 65 6e 69 6e 67 29 |.{..if( |opening)|
|00000610| 0d 09 7b 0d 09 09 69 66 | 28 20 77 68 69 63 68 44 |..{...if|( whichD|
|00000620| 61 74 65 20 21 3d 20 6b | 4d 6f 64 44 61 74 65 29 |ate != k|ModDate)|
|00000630| 0d 09 09 7b 0d 09 09 09 | 74 68 65 43 49 6e 66 6f |...{....|theCInfo|
|00000640| 50 42 52 65 63 2e 68 46 | 69 6c 65 49 6e 66 6f 2e |PBRec.hF|ileInfo.|
|00000650| 69 6f 46 6c 43 72 44 61 | 74 20 3d 20 74 69 6d 65 |ioFlCrDa|t = time|
|00000660| 5f 74 6f 5f 73 65 74 3b | 0d 09 09 7d 0d 09 09 69 |_to_set;|...}...i|
|00000670| 66 28 20 77 68 69 63 68 | 44 61 74 65 20 21 3d 20 |f( which|Date != |
|00000680| 6b 43 72 65 61 74 44 61 | 74 65 29 0d 09 09 7b 0d |kCreatDa|te)...{.|
|00000690| 09 09 09 74 68 65 43 49 | 6e 66 6f 50 42 52 65 63 |...theCI|nfoPBRec|
|000006a0| 2e 68 46 69 6c 65 49 6e | 66 6f 2e 69 6f 46 6c 4d |.hFileIn|fo.ioFlM|
|000006b0| 64 44 61 74 20 3d 20 74 | 69 6d 65 5f 74 6f 5f 73 |dDat = t|ime_to_s|
|000006c0| 65 74 3b 0d 09 09 7d 0d | 09 09 74 68 65 43 49 6e |et;...}.|..theCIn|
|000006d0| 66 6f 50 42 52 65 63 2e | 68 46 69 6c 65 49 6e 66 |foPBRec.|hFileInf|
|000006e0| 6f 2e 69 6f 46 44 69 72 | 49 6e 64 65 78 20 3d 20 |o.ioFDir|Index = |
|000006f0| 30 3b 0d 09 09 63 6f 6e | 73 74 20 4f 53 45 72 72 |0;...con|st OSErr|
|00000700| 20 72 65 73 75 6c 74 20 | 3d 20 50 42 53 65 74 43 | result |= PBSetC|
|00000710| 61 74 49 6e 66 6f 53 79 | 6e 63 28 20 26 74 68 65 |atInfoSy|nc( &the|
|00000720| 43 49 6e 66 6f 50 42 52 | 65 63 29 3b 0d 09 09 69 |CInfoPBR|ec);...i|
|00000730| 66 28 20 72 65 73 75 6c | 74 20 21 3d 20 6e 6f 45 |f( resul|t != noE|
|00000740| 72 72 29 0d 09 09 7b 0d | 09 09 09 53 79 73 42 65 |rr)...{.|...SysBe|
|00000750| 65 70 28 20 39 29 3b 0d | 09 09 7d 0d 09 7d 0d 7d |ep( 9);.|..}..}.}|
|00000760| 0d 0d 76 6f 69 64 20 74 | 6f 75 63 68 73 68 65 6c |..void t|ouchshel|
|00000770| 6c 3a 3a 48 61 6e 64 6c | 65 44 69 61 6c 6f 67 45 |l::Handl|eDialogE|
|00000780| 76 65 6e 74 28 20 73 68 | 6f 72 74 20 69 74 65 6d |vent( sh|ort item|
|00000790| 48 69 74 2c 20 44 69 61 | 6c 6f 67 50 74 72 20 74 |Hit, Dia|logPtr t|
|000007a0| 68 65 44 69 61 6c 6f 67 | 29 0d 7b 0d 09 73 77 69 |heDialog|).{..swi|
|000007b0| 74 63 68 28 20 69 74 65 | 6d 48 69 74 29 0d 09 7b |tch( ite|mHit)..{|
|000007c0| 0d 09 09 63 61 73 65 20 | 6b 53 65 63 6f 6e 64 42 |...case |kSecondB|
|000007d0| 75 74 74 6f 6e 3a 0d 09 | 09 63 61 73 65 20 6b 4d |utton:..|.case kM|
|000007e0| 69 6e 75 74 65 42 75 74 | 74 6f 6e 3a 0d 09 09 63 |inuteBut|ton:...c|
|000007f0| 61 73 65 20 6b 48 6f 75 | 72 42 75 74 74 6f 6e 3a |ase kHou|rButton:|
|00000800| 0d 09 09 63 61 73 65 20 | 6b 48 61 6c 66 44 61 79 |...case |kHalfDay|
|00000810| 42 75 74 74 6f 6e 3a 0d | 09 09 63 61 73 65 20 6b |Button:.|..case k|
|00000820| 44 61 79 42 75 74 74 6f | 6e 3a 0d 09 09 63 61 73 |DayButto|n:...cas|
|00000830| 65 20 6b 47 72 6f 75 6e | 64 5a 65 72 6f 42 75 74 |e kGroun|dZeroBut|
|00000840| 74 6f 6e 3a 0d 09 09 09 | 43 68 61 6e 67 65 47 72 |ton:....|ChangeGr|
|00000850| 61 69 6e 28 20 69 74 65 | 6d 48 69 74 29 3b 0d 09 |ain( ite|mHit);..|
|00000860| 09 09 62 72 65 61 6b 3b | 0d 09 09 09 0d 09 09 63 |..break;|.......c|
|00000870| 61 73 65 20 6b 43 72 65 | 61 74 44 61 74 65 3a 0d |ase kCre|atDate:.|
|00000880| 09 09 63 61 73 65 20 6b | 4d 6f 64 44 61 74 65 3a |..case k|ModDate:|
|00000890| 0d 09 09 63 61 73 65 20 | 6b 42 6f 74 68 44 61 74 |...case |kBothDat|
|000008a0| 65 73 3a 0d 09 09 09 43 | 68 61 6e 67 65 44 61 74 |es:....C|hangeDat|
|000008b0| 65 28 20 69 74 65 6d 48 | 69 74 29 3b 0d 09 09 09 |e( itemH|it);....|
|000008c0| 62 72 65 61 6b 3b 0d 09 | 09 09 0d 09 09 63 61 73 |break;..|.....cas|
|000008d0| 65 20 6b 44 6f 6e 74 53 | 61 76 65 3a 0d 09 09 09 |e kDontS|ave:....|
|000008e0| 64 6f 6e 74 53 61 76 65 | 50 72 65 66 73 20 3d 20 |dontSave|Prefs = |
|000008f0| 21 64 6f 6e 74 53 61 76 | 65 50 72 65 66 73 3b 0d |!dontSav|ePrefs;.|
|00000900| 09 09 09 43 68 61 6e 67 | 65 53 61 76 65 28 20 64 |...Chang|eSave( d|
|00000910| 6f 6e 74 53 61 76 65 50 | 72 65 66 73 29 3b 0d 09 |ontSaveP|refs);..|
|00000920| 09 09 62 72 65 61 6b 3b | 0d 09 7d 0d 7d 0d 0d 76 |..break;|..}.}..v|
|00000930| 6f 69 64 20 74 6f 75 63 | 68 73 68 65 6c 6c 3a 3a |oid touc|hshell::|
|00000940| 43 68 61 6e 67 65 47 72 | 61 69 6e 28 20 69 6e 74 |ChangeGr|ain( int|
|00000950| 20 6e 65 77 47 72 61 69 | 6e 29 0d 7b 0d 09 73 68 | newGrai|n).{..sh|
|00000960| 6f 72 74 09 69 54 79 70 | 65 3b 0d 09 48 61 6e 64 |ort.iTyp|e;..Hand|
|00000970| 6c 65 09 69 48 61 6e 64 | 6c 65 3b 0d 09 52 65 63 |le.iHand|le;..Rec|
|00000980| 74 09 69 52 65 63 74 3b | 0d 0d 09 66 6f 72 28 20 |t.iRect;|...for( |
|00000990| 69 6e 74 20 69 20 3d 20 | 6b 53 65 63 6f 6e 64 42 |int i = |kSecondB|
|000009a0| 75 74 74 6f 6e 3b 20 69 | 20 3c 3d 20 6b 47 72 6f |utton; i| <= kGro|
|000009b0| 75 6e 64 5a 65 72 6f 42 | 75 74 74 6f 6e 3b 20 69 |undZeroB|utton; i|
|000009c0| 2b 2b 29 0d 09 7b 0d 09 | 09 47 65 74 44 69 61 6c |++)..{..|.GetDial|
|000009d0| 6f 67 49 74 65 6d 28 20 | 67 4d 61 69 6e 44 69 61 |ogItem( |gMainDia|
|000009e0| 6c 6f 67 2c 20 69 2c 20 | 26 69 54 79 70 65 2c 20 |log, i, |&iType, |
|000009f0| 26 69 48 61 6e 64 6c 65 | 2c 20 26 69 52 65 63 74 |&iHandle|, &iRect|
|00000a00| 29 3b 0d 09 09 53 65 74 | 43 6f 6e 74 72 6f 6c 56 |);...Set|ControlV|
|00000a10| 61 6c 75 65 28 20 28 43 | 6f 6e 74 72 6f 6c 48 61 |alue( (C|ontrolHa|
|00000a20| 6e 64 6c 65 29 69 48 61 | 6e 64 6c 65 2c 20 28 69 |ndle)iHa|ndle, (i|
|00000a30| 20 3d 3d 20 6e 65 77 47 | 72 61 69 6e 29 29 3b 0d | == newG|rain));.|
|00000a40| 09 7d 0d 09 77 68 69 63 | 68 47 72 61 69 6e 20 3d |.}..whic|hGrain =|
|00000a50| 20 6e 65 77 47 72 61 69 | 6e 3b 0d 09 63 6f 6e 73 | newGrai|n;..cons|
|00000a60| 74 20 6c 6f 6e 67 20 67 | 72 61 6e 75 6c 61 72 69 |t long g|ranulari|
|00000a70| 74 79 20 3d 20 74 68 65 | 47 72 61 69 6e 73 5b 20 |ty = the|Grains[ |
|00000a80| 77 68 69 63 68 47 72 61 | 69 6e 20 2d 20 31 5d 3b |whichGra|in - 1];|
|00000a90| 0d 09 0d 09 74 69 6d 65 | 5f 74 6f 5f 73 65 74 20 |....time|_to_set |
|00000aa0| 3d 20 67 72 61 6e 75 6c | 61 72 69 74 79 20 2a 0d |= granul|arity *.|
|00000ab0| 09 09 28 28 73 74 61 72 | 74 69 6e 67 5f 74 69 6d |..((star|ting_tim|
|00000ac0| 65 20 2b 20 67 72 61 6e | 75 6c 61 72 69 74 79 20 |e + gran|ularity |
|00000ad0| 2d 20 31 29 20 2f 20 67 | 72 61 6e 75 6c 61 72 69 |- 1) / g|ranulari|
|00000ae0| 74 79 29 3b 0d 7d 0d 0d | 76 6f 69 64 20 74 6f 75 |ty);.}..|void tou|
|00000af0| 63 68 73 68 65 6c 6c 3a | 3a 43 68 61 6e 67 65 44 |chshell:|:ChangeD|
|00000b00| 61 74 65 28 20 69 6e 74 | 20 6e 65 77 44 61 74 65 |ate( int| newDate|
|00000b10| 29 0d 7b 0d 09 73 68 6f | 72 74 09 69 54 79 70 65 |).{..sho|rt.iType|
|00000b20| 3b 0d 09 48 61 6e 64 6c | 65 09 69 48 61 6e 64 6c |;..Handl|e.iHandl|
|00000b30| 65 3b 0d 09 52 65 63 74 | 09 69 52 65 63 74 3b 0d |e;..Rect|.iRect;.|
|00000b40| 0d 09 66 6f 72 28 20 69 | 6e 74 20 69 20 3d 20 6b |..for( i|nt i = k|
|00000b50| 43 72 65 61 74 44 61 74 | 65 3b 20 69 20 3c 3d 20 |CreatDat|e; i <= |
|00000b60| 6b 42 6f 74 68 44 61 74 | 65 73 3b 20 69 2b 2b 29 |kBothDat|es; i++)|
|00000b70| 0d 09 7b 0d 09 09 47 65 | 74 44 69 61 6c 6f 67 49 |..{...Ge|tDialogI|
|00000b80| 74 65 6d 28 20 67 4d 61 | 69 6e 44 69 61 6c 6f 67 |tem( gMa|inDialog|
|00000b90| 2c 20 69 2c 20 26 69 54 | 79 70 65 2c 20 26 69 48 |, i, &iT|ype, &iH|
|00000ba0| 61 6e 64 6c 65 2c 20 26 | 69 52 65 63 74 29 3b 0d |andle, &|iRect);.|
|00000bb0| 09 09 53 65 74 43 6f 6e | 74 72 6f 6c 56 61 6c 75 |..SetCon|trolValu|
|00000bc0| 65 28 20 28 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |e( (Cont|rolHandl|
|00000bd0| 65 29 69 48 61 6e 64 6c | 65 2c 20 28 69 20 3d 3d |e)iHandl|e, (i ==|
|00000be0| 20 6e 65 77 44 61 74 65 | 29 29 3b 0d 09 7d 0d 09 | newDate|));..}..|
|00000bf0| 77 68 69 63 68 44 61 74 | 65 20 3d 20 6e 65 77 44 |whichDat|e = newD|
|00000c00| 61 74 65 3b 0d 7d 0d 0d | 76 6f 69 64 20 74 6f 75 |ate;.}..|void tou|
|00000c10| 63 68 73 68 65 6c 6c 3a | 3a 43 68 61 6e 67 65 53 |chshell:|:ChangeS|
|00000c20| 61 76 65 28 20 42 6f 6f | 6c 65 61 6e 20 61 75 74 |ave( Boo|lean aut|
|00000c30| 6f 53 61 76 65 29 0d 7b | 0d 09 73 68 6f 72 74 09 |oSave).{|..short.|
|00000c40| 69 54 79 70 65 3b 0d 09 | 48 61 6e 64 6c 65 09 69 |iType;..|Handle.i|
|00000c50| 48 61 6e 64 6c 65 3b 0d | 09 52 65 63 74 09 69 52 |Handle;.|.Rect.iR|
|00000c60| 65 63 74 3b 0d 0d 09 47 | 65 74 44 69 61 6c 6f 67 |ect;...G|etDialog|
|00000c70| 49 74 65 6d 28 20 67 4d | 61 69 6e 44 69 61 6c 6f |Item( gM|ainDialo|
|00000c80| 67 2c 20 6b 44 6f 6e 74 | 53 61 76 65 2c 20 26 69 |g, kDont|Save, &i|
|00000c90| 54 79 70 65 2c 20 26 69 | 48 61 6e 64 6c 65 2c 20 |Type, &i|Handle, |
|00000ca0| 26 69 52 65 63 74 29 3b | 0d 09 53 65 74 43 6f 6e |&iRect);|..SetCon|
|00000cb0| 74 72 6f 6c 56 61 6c 75 | 65 28 20 28 43 6f 6e 74 |trolValu|e( (Cont|
|00000cc0| 72 6f 6c 48 61 6e 64 6c | 65 29 69 48 61 6e 64 6c |rolHandl|e)iHandl|
|00000cd0| 65 2c 20 61 75 74 6f 53 | 61 76 65 29 3b 0d 7d 0d |e, autoS|ave);.}.|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 a6 | 00 00 00 a6 00 00 00 46 |........|.......F|
|00000d10| 00 00 00 02 0f 54 6f 20 | 62 65 20 62 61 63 6b 65 |.....To |be backe|
|00000d20| 64 20 75 70 01 00 00 00 | 00 1c 00 00 07 8b a8 3b |d up....|.......;|
|00000d30| 0d 74 6f 75 63 68 73 68 | 65 6c 6c 2e 63 70 02 00 |.touchsh|ell.cp..|
|00000d40| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000d50| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 ae d1 09 59 00 00 | 00 00 00 00 01 ec 4e 15 |.....Y..|......N.|
|00000d80| a9 5f a5 45 aa 48 45 b7 | 00 00 00 00 00 52 00 18 |._.E.HE.|.....R..|
|00000d90| 01 0e 01 ac 10 00 01 a8 | 02 48 01 00 ff f8 ff f0 |........|.H......|
|00000da0| 00 00 00 00 00 60 00 00 | 00 00 00 00 00 00 00 00 |.....`..|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 0f 00 00 00 |........|........|
|00000dc0| 00 02 09 55 74 69 6c 69 | 74 69 65 73 01 00 00 00 |...Utili|ties....|
|00000dd0| 00 08 00 00 19 0c a4 c6 | 2d a4 aa 2b b1 11 00 00 |........|-..+....|
|00000de0| 00 00 00 d5 00 53 01 95 | 01 6f 01 08 00 64 00 c0 |.....S..|.o...d..|
|00000df0| 01 80 ff fc ff ee 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000e00| 00 00 00 56 00 03 00 16 | 00 00 05 b2 00 4e 00 b6 |...V....|.....N..|
|00000e10| 10 98 00 00 07 72 65 73 | 75 6c 74 20 00 20 00 00 |.....res|ult . ..|
|00000e20| 03 2f 00 2c 00 b6 10 88 | 10 80 11 2a 70 72 65 66 |./.,....|...*pref|
|00000e30| 73 46 69 6c 65 48 61 6e | 64 6c 65 20 00 1e 00 00 |sFileHan|dle ....|
|00000e40| 03 2f 00 2c 00 b6 10 78 | 00 00 0f 70 72 65 66 73 |./.,...x|...prefs|
|00000e50| 46 69 6c 65 48 61 6e 64 | 6c 65 00 00 00 48 00 09 |FileHand|le...H..|
|00000e60| 4d 6f 6e 61 63 6f 00 00 | 00 00 00 00 00 00 00 00 |Monaco..|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 06 00 04 00 2a 00 03 | 02 fd 03 fd 00 28 00 b4 |.....*..|.....(..|
|00000e90| 02 fc 03 0d ad 9d aa 01 | 00 00 06 e1 00 00 06 e1 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 01 00 00 00 01 a6 00 00 |........|........|
|00000eb0| 00 a6 00 00 00 46 01 39 | c3 68 21 6c 00 00 00 1c |.....F.9|.h!l....|
|00000ec0| 00 46 00 01 44 54 56 55 | 00 00 00 12 4d 50 53 52 |.F..DTVU|....MPSR|
|00000ed0| 00 00 00 1e 74 e5 ff ff | 00 00 00 00 00 00 00 00 |....t...|........|
|00000ee0| 03 ed ff ff 00 00 00 5a | 01 39 c1 c4 00 00 00 00 |.......Z|.9......|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+